package zhangyu.world.voltaic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author shane
 * @since 2020-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "admin_id", type = IdType.AUTO)
    private Integer adminId;

    /**
     * 管理员昵称
     */
    private String adminName;

    /**
     * 管理员账号
     */
    private String adminAccount;

    /**
     * 密码
     */
    private String adminPwd;

    /**
     * 头像
     */
    private String adminHeadUrl;

    /**
     * 状态
     */
    private String adminStatus;

    /**
     * 1管理员 2子管理
     */
    private String adminType;

    /**
     * 创建时间
     */
    private String adminCreateTime;

    /**
     * 登陆时间
     */
    private String adminLoginTime;

    private String adminSalt;


}
